package day01;

public class EqualsJavaDemo {
    public static void main(String[] args) {
      String s1 = "hello";

      String s2 = new String("hello");

      System.out.println( s1 == s2 );   // false

      System.out.println( s1.equals(s2) ); // true

    }
}
